package com.xiaoma.springbootannotation.annotation;

import java.lang.annotation.*;

/**
 * @Author: xiaoma
 * @Date: 2021/8/9 20:29
 * @description:
 */
@Target({ElementType.METHOD})//作用于方法上
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RedisAndLua {
    /**
     * redis自动过期时间
     *
     * @return
     */
    long expireTime() default 10000;
}
